﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FXnaAppBase
{
    public class RunCommand
    {

        /// <summary>
        /// 
        /// </summary>
        /// <param name="exeName"></param>
        /// <param name="args"></param>
        public RunCommand(string exeName, string args,string workPath)
        {

            this._exeName = exeName;
            this._exeArgs = args;

            this._workPath = workPath;


        }



        string _exeName = "";

        public string ExeName
        {
            get { return _exeName; }
            set { _exeName = value; }
        }

        string _exeArgs = "";

        public string ExeArgs
        {
            get { return _exeArgs; }
            set { _exeArgs = value; }
        }


        string _workPath = "";

        public string WorkPath
        {
            get { return _workPath; }
            set { _workPath = value; }
        }


        public virtual void BeforeRun()
        {
 
        }


        public virtual void AfterRun()
        {
 
        }



    }
}
